package com.whmskj.xjlhsc.mobie.ProductionManagement.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDate;

/**
 * @author jiaruchun
 * @date 2025-09-03 19:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ListDustFilterPackingDTO {
    /*@RequestParam(required = false ,value = "start")  @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate start,
                                        @RequestParam(required = false ,value = "end") @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate end,

                                       @RequestParam(required = false,value = "type") String type*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate start;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;
    private String type;
}
